//app.js
App({
  onLaunch: function () {
    console.log([...[1, 2, 3], ...[4, 5, 6]])
    wx.getSystemInfo({
      success: res => {
        console.log(res)
        this.globalData.windowWidth = res.windowWidth
        this.globalData.windowHeight = res.windowHeight
      }
    })
  },
  globalData: {
    userInfo: null
  }
})
